package com.ym.medical.domain.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 【请填写功能名称】对象 sys_role_data_rule
 *
 * @author ym
 * @date 2020-08-20
 */
@ApiModel(value = "【请填写功能名称】-查询")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class SysRoleDataRuleQueryParam {

    @ApiModelProperty("适用角色列表，如：,RoleA,RoleB,")
    private String roles;

    @ApiModelProperty("主实体，多表联合，如：,SystemCode,User,")
    private String fromEntity;

    @ApiModelProperty("过滤表达式字段,如：userId = {uid}  and {me}.dept_id={dept_id_a} and {me.a}.dept_id={dept_id_b}")
    private String exps;

    @ApiModelProperty("规则说明")
    private String ruleComment;

    @ApiModelProperty("ids")
    private Long[] ids;
}
